package com.commerce.recording.entity;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

import java.util.List;

public class Record extends LitePalSupport {

    private int id;
    @Column(unique = true)
    private String name;
    private String time;
    private List<Sign> times;
    private String path;
    @Column(defaultValue = "false")
    private boolean check;

    public Record() {
    }

    public Record(String name, String time,List<Sign> times,String path) {
        this.name = name;
        this.time = time;
        this.times = times;
        this.path = path;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<Sign> getTimes() {
        return times;
    }

    public void setTimes(List<Sign> times) {
        this.times = times;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public boolean isCheck() {
        return check;
    }

    public void setCheck(boolean check) {
        this.check = check;
    }
}
